package cn.hdc.os.dao;


import cn.hdc.os.entity.ClaimVoucher;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("claimVoucherDao")
public interface ClaimVoucherDao {
    //新增一个报销单
    void insert(ClaimVoucher claimVoucher);
    //修改报销单

    void update(ClaimVoucher claimVoucher);
    //删除报销单

    void delete(int id);

    //根据id查询报销单
    ClaimVoucher select(int id);

    //查询某个创建者的报销单
    List<ClaimVoucher> selectByCreateSn(String csn);

    //查询某个人能够处理的报销单
    List<ClaimVoucher> selectByNextDealSn(String ndsn);
}
